cmake_minimum_required(VERSION 3.15)

project("hello_window")

set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${_PRJ_TARGET_DIR}/${PROJECT_NAME}")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${_PRJ_TARGET_DIR}/${PROJECT_NAME}/bin")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${_PRJ_TARGET_DIR}/${PROJECT_NAME}/lib" )


include_directories(
    ${GLFW3_INCLUDE_DIRS}
    ${GLAD_INCLUDE_DIRS}
)

link_directories(
    ${GLFW3_LIBRARY_DIR}
    ${GLAD_LIBRARY_DIR}
)


set(HEADERS
        )


set(SOURCES
        main.cpp)


set(AllFiles
        ${HEADERS}
        ${SOURCES})

add_executable(${PROJECT_NAME} ${AllFiles})

target_link_libraries(${PROJECT_NAME}
PUBLIC
    ${GLFW3_LIBRARIES} ${GLAD_LIBRARIES})